<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!doctype html>
<html>
<head>
	<title>短信充值记录</title>

	<script type="text/javascript">
		var pageListUrl = "<c:url value="/remind/sms/list" />";

		var detailTbodyTemplateID = "detailTbodyTemplate";
		var detailTbodyID = "detailTbody";
		var pageToolID = "pageTool";

		var editTemplateID = "edit-template";
		var editFormID = "nsForm";
		var searchFormID = "searchForm";


		$(function () {
			toPage(1);
		});

	</script>

</head>


<body  class="list-body">



<div class="content">
	<div class="title fix">
		<h3 class="b f14 fl">短信充值记录</h3>
		<div class="f14 fl " style="margin-top: 30px; margin-left:30px;">短信余额：<b>${smsQuantity}</b></div>
		<div class="btns fr">
			<%--<button class="green" onclick="add()">新增</button>--%>
			<%--<button class="orange">返回</button>--%>
		</div>
	</div>

	<div class="main">
		<div class="inquiry">
			<form id="searchForm">
				<input type="hidden" name="currentPage" value="1">
				<input type="hidden" name="toolStyle" value="pms">
				<input type="hidden" name="limit" value="10">
				<input type="hidden" name="method" value="toPage">
				<input type="hidden" name="dealerNum" value="${dealerNum}">

				<%--<div class="group"><label>活动名称：</label><input type="text" name="name" value=" " /></div>--%>
				<%--<div class="group"><label>活动时间：</label><input type="text" name="name" value=" " /> - <input type="text" name="name" value=" " /></div>--%>
				<%--<div class="group"><label>活动状态：</label><input type="text" name="name" value=" " /></div>--%>
				<%--<div class="btns"><button type="button" class="bottleGreen vm" onclick="toPage(1)">查看</button></div>--%>
			</form>
		</div>
		<div class="table">
			<table width="100%">
				<thead>
				<tr>
					<%--<th width="5%"><input type="checkbox" name="name" value=" " /></th>--%>
					<th width="50">序号</th>
					<th width="">套餐名称</th>
					<th width="">套餐数量</th>
					<th width="">充值数量</th>
					<th width="">类型</th>
					<th width="">充值时间</th>
				</tr>
				</thead>
				<tbody id="detailTbody" class="detailTr"></tbody>
			</table>
		</div>

		<div class="pageTool" id="pageTool"></div>
	</div>
</div>
<script id="detailTbodyTemplate" type="text/html">
	{{each items as v i}}
	<tr id="{{v.id}}" >
		<td>{{start + i + 1}}</td>
		<td>{{v.packageName}}</td>
		<td>{{v.packageNum}}</td>
		<td>{{v.totalCount}}</td>
		<td>{{v.packageType}}</td>
		<td>{{v.receiveDate}}</td>
	</tr>
	{{/each}}
	{{if items.length == 0}}
	<tr>
		<td colspan="7" class="none-data-tip">没有相关数据</td>
	</tr>
	{{/if}}
</script>


</body>
</html>




